//
//  TakeVideoPreViewController.h
//  NvSellerShow
//
//  Created by bmd on 2017/3/31.
//  Copyright © 2017年 Meicam. All rights reserved.
//  拍照界面

#import <UIKit/UIKit.h>
#import "MediaModel.h"
#import <AVFoundation/AVFoundation.h>
@class TakeVideoPreViewController;

@protocol TakeVideoPreViewControllerDelegate <NSObject>
@optional

- (void)takeVideoPreViewController:(TakeVideoPreViewController *)preController cancelClick:(UIButton *)cancelButton;
- (void)takeVideoPreViewController:(TakeVideoPreViewController *)preController okClick:(UIButton *)okButton;

@end

@interface TakeVideoPreViewController : UIViewController

@property (weak, nonatomic) id<TakeVideoPreViewControllerDelegate> delegate;
@property (strong, nonatomic) NSString *videoUrl;
@property (strong, nonatomic) AVAsset *asset;
@property (nonatomic, strong) MediaModel *model;
@property (nonatomic, copy) NSString *totalTime;

@end
